namespace cpputils
{

struct timer
{
public:
	timer();
	double time() const;
	void time(const double& Val);
	void start();
	void stop();

private:
	clock_t Time;
	clock_t Start;
	bool Timing;

	clock_t get_passed() const;
};

}
